/* 登录页面样式 */
.login-container {
  padding: 60rpx 48rpx;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* 登录卡片 */
.login-card {
  background: #ffffff;
  border-radius: 24rpx;
  padding: 60rpx 48rpx;
  box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.15);
}

/* 标题 */
.login-title {
  font-size: 48rpx;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin-bottom: 60rpx;
}

/* 表单项目 */
.form-item {
  margin-bottom: 40rpx;
}

.form-label {
  display: block;
  font-size: 28rpx;
  color: #666666;
  margin-bottom: 16rpx;
  font-weight: 500;
}

.form-input {
  width: 100%;
  height: 96rpx;
  border: 2rpx solid #e8e8e8;
  border-radius: 16rpx;
  padding: 0 32rpx;
  font-size: 28rpx;
  color: #333333;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #1890ff;
  background-color: #ffffff;
  box-shadow: 0 0 0 4rpx rgba(24, 144, 255, 0.1);
}

/* 密码输入框 */
.password-input {
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 32rpx;
  top: 50%;
  transform: translateY(-50%);
  width: 40rpx;
  height: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 32rpx;
}

.eye-icon:active {
  color: #1890ff;
}

/* 登录按钮 */
.login-btn {
  width: 100%;
  height: 96rpx;
  background: linear-gradient(135deg, #1890ff, #52c41a);
  border-radius: 48rpx;
  color: #ffffff;
  font-size: 32rpx;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40rpx;
  box-shadow: 0 8rpx 24rpx rgba(24, 144, 255, 0.3);
  transition: all 0.3s ease;
}

.login-btn:active {
  opacity: 0.8;
  transform: translateY(2rpx);
}

.login-btn:disabled {
  background: #cccccc;
  box-shadow: none;
}

/* 错误提示 */
.error-tip {
  color: #ff4d4f;
  font-size: 24rpx;
  margin-top: 8rpx;
}

/* 加载状态 */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20rpx 0;
}

.loading-spinner {
  width: 32rpx;
  height: 32rpx;
  border: 3rpx solid #e8e8e8;
  border-top: 3rpx solid #1890ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 16rpx;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 28rpx;
  color: #999999;
}

/* 公司信息 */
.company-info {
  text-align: center;
  margin-top: 60rpx;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24rpx;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .login-container {
    padding: 40rpx 32rpx;
  }
  
  .login-card {
    padding: 48rpx 32rpx;
  }
}